package com.xiaorun.portal.service;

import com.github.pagehelper.PageInfo;
import com.xiaorun.portal.modal.Vo.News;

import java.util.Map;

public interface INewsService {

    PageInfo<News> list(int pageNum, int pageSize, Map<String, Object> params);

    int save(News news);

    News get(int id);

    int remove(int id);

    int countTotal(Map<String,Object> params);
}
